package Interface

import "server5/Bean"

type IUser interface {
	Status() int32
	SetStatus(status int32)
	GameRoom() IGameRoom
	SetGameRoom(gameRoom IGameRoom)
	UserInfo() Bean.UserInfo
	SetUserInfo(userInfo Bean.UserInfo)
	Connection() IConnection
	SetConnection(connection IConnection)

	AddExp(exp int) (nextExp int, AddSp int)
	AddGold(gold int)
}
